package com.zhijian.medical.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "常规病理-收藏")
public class RoutinePatientDiagnoseCollect {

    /**
     * 主键ID
     */
    @ApiModelProperty("主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 收藏的疾病名称
     */
    @ApiModelProperty("收藏名称")
    private String collectName;

    @ApiModelProperty("报告名称")
    @TableField(exist = false)
    private String paperName;

    private Long typeId;

    @ApiModelProperty("病理号")
    @TableField(exist = false)
    private String conventionPathologyNumber;

    @ApiModelProperty("疾病ID")
    private Long diseaseId;

    @ApiModelProperty(value = "默认为诊断报告 0", hidden = true)
    private Integer type;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;
}
